package com.atguigu.springcloud.controller;

import com.atguigu.springcloud.service.MessageProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author : 李红磊
 * @Date : 2021/05/19/22:54
 * @Description :
 */
@RestController
public class SendMessageController {

    @Autowired
    private MessageProviderService service;

    @GetMapping("/sendMessage")
    public String sendMS(){
        return service.send();
    }

}
